package com.web.zsqqimengzhixing.mapper;

import com.web.zsqqimengzhixing.pojo.Userprofile;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface UserprofileMapper {

    @Select("select * from userprofile where mobile = #{mobile}")
    Userprofile selectByMobile(String mobile);

    @Insert("insert into userprofile(mobile,username) values (#{mobile},#{username})")
    void insert(Userprofile e);

}
